<%@page import="java.util.List"%>
<%@page import="cn.three.eneity.Shop"%>
<%@page import="cn.three.biz.ShopdaoBiz"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="keywords" />
<meta name="description" />
<link href="css/homepage.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript"
	src="http://www.hatrzs.com/skin/js/jquery.SuperSlide.2.1.1.js"></script>
</head>
<body>
	<div class="" id="shopList">
		<a class="fSort" href="Drink.jsp" id="renqi" title="点击后按人气从高到低">人气</a>
		<a class="fSort" href="Drink.jsp" id="xinpin" title="点击后按上货时间有晚到早">新品</a>
		<a class="fSort" href="Drink.jsp" id="xiaoliang" title="点击后按月销量从高到低">销量</a>
		<a class="fSort" href="Drink.jsp" id="price" title="点击后按价格从低到高">价格</a>
	</div>
	<%
			List< Shop> list=(List<Shop>)session.getAttribute("list");
			for(int i=0;i<list.size();i++){
				
				Shop shop=(Shop)list.get(i);
				 
			
			
			%>
	<div class="productDrink" >
		<div class="product-iWrap">
			<div class="productImg-wrap">
		
				<a href="#"> <img src="images3/<%=shop.getShopPic() %>"
					width="300" height="200">
				</a>
			</div>
			<p class="productPrice" 
				style="font-size: 22px; color: red" id="price"><%=shop.getShopPrice() %></p>￥
			<div class="addcart">
				<a href="">购买</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <img
					src="images3/shoop.bmp" title="点击加入购物车" class="Add_to_cart">加入购物车
			</div>

			<span style="color: red"><%=shop.getShopDetails() %></span>
		</div>
		<p class="productStatus">
			<span id="500">月成交 <em>500笔</em></span>&nbsp;&nbsp;&nbsp;&nbsp; <span>评价
				<a href="">200</a>笔
			</span>
		</p>
	</div>
	<%} %>


</body>
</html>